package com.mysoft.gfyx.workbench.service;

import com.mysoft.gfyx.workbench.controller.dto.GetUserTokenResponseDto;
import com.mysoft.gfyx.workbench.mip.dto.BasicYcgListResponseDto;
import com.mysoft.gfyx.workbench.service.dto.UserBusinessOpportunityRequestDto;
import com.mysoft.gfyx.workbench.service.dto.UserGetTokenRequestDto;
import org.springframework.web.bind.annotation.RequestBody;

public interface YcgService {
    /**
     * 获取用户商机
     * @param requestDto 用户商机请求实体
     * @return UserBusinessOpportunityResponseDto
     */
    Object getUserBusinessOpportunity(@RequestBody UserBusinessOpportunityRequestDto requestDto);

    Object getSupplierUserAuthToken(@RequestBody UserGetTokenRequestDto requestDto);

    Object getSupplierUserSsoUrl(@RequestBody UserGetTokenRequestDto requestDto);

    GetUserTokenResponseDto getUserToken(String userCode);
}
